package com.weight.system.user.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 人员信息表
 */
@Data
public class UserInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "员工id")
	@JSONField(name = "userId")
	private String userId; //员工id

	@Excel(name = "员工姓名")
	@NotBlank(message = "员工姓名不能为空")
	@JSONField(name = "userName")
	private String userName; //员工姓名

	@Excel(name = "员工编号")
	@NotBlank(message = "员工编号不能为空")
	@JSONField(name = "userCode")
	private String userCode; //员工编号

	@Excel(name = "性别")
	@NotNull(message = "性别不能为空")
	@JSONField(name = "userSex")
	private Integer userSex; //性别

	@Excel(name = "出生日期")
	@NotBlank(message = "出生日期不能为空")
	@JSONField(name = "userBirth")
	private String userBirth; //出生日期

	@Excel(name = "身份证号")
	@NotBlank(message = "身份证号不能为空")
	@JSONField(name = "userIdnum")
	private String userIdnum; //身份证号

	@Excel(name = "联系电话")
	@NotBlank(message = "联系电话不能为空")
	@JSONField(name = "userTel")
	private String userTel; //联系电话

	@Excel(name = "联系地址")
	@NotBlank(message = "联系地址不能为空")
	@JSONField(name = "userAddress")
	private String userAddress; //联系地址

	@Excel(name = "员工邮箱")
	@NotBlank(message = "员工邮箱不能为空")
	@JSONField(name = "userPcode")
	private String userPcode; //员工邮箱

	@Excel(name = "员工状态")
	@NotNull(message = "员工状态不能为空")
	@JSONField(name = "userStatus")
	private Integer userStatus; //员工状态

	@Excel(name = "员工头像")
	@NotBlank(message = "员工头像不能为空")
	@JSONField(name = "userPath")
	private String userPath; //员工头像

	private String standbyfield1; //备用字段1
	public  UserInfoVO(){
		super();
	}

	public  UserInfoVO(String userId,String userName,String userCode,Integer userSex,String userBirth,String userIdnum,String userTel,String userAddress,String userPcode,Integer userStatus,String userPath){
		super();
		this.userId = userId;
		this.userName = userName;
		this.userCode = userCode;
		this.userSex = userSex;
		this.userBirth = userBirth;
		this.userIdnum = userIdnum;
		this.userTel = userTel;
		this.userAddress = userAddress;
		this.userPcode = userPcode;
		this.userStatus = userStatus;
		this.userPath = userPath;
	}

}